package com.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class YeepayServlet extends HttpServlet {


	private static final long serialVersionUID = 1L;

	public void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		this.doPost(request, response);

	}

	public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		
		String p0_Cmd =request.getParameter("p0_Cmd" ); 
		String p1_MerId =request.getParameter("p1_MerId" ); 
		String p3_Amt =request.getParameter("p3_Amt" ); 
		String p4_Cur =request.getParameter("p4_Cur" ); 
		String p5_Pid =request.getParameter("p5_Pid" ); 
		String p6_Pcat =request.getParameter("p6_Pcat" ); 
		String p7_Pdesc =request.getParameter("p7_Pdesc" ); 
		String p8_Url =request.getParameter("p8_Url" ); 
		String p9_SAF =request.getParameter("p9_SAF" ); 
		String pa_MP =request.getParameter("pa_MP" ); 
		String pd_FrpId =request.getParameter("pd_FrpId" ); 
		String pr_NeedResponse =request.getParameter("pr_NeedResponse" ); 
		String hmac =request.getParameter("hmac" ); 
		
		System.out.println(p0_Cmd);
		System.out.println(p1_MerId);
		System.out.println(p3_Amt);
		System.out.println(p4_Cur);
		System.out.println(p5_Pid);
		System.out.println(p6_Pcat);
		System.out.println(p7_Pdesc);
		System.out.println(p8_Url);
		System.out.println(pa_MP);
		System.out.println(p9_SAF);
		System.out.println(pd_FrpId);
		System.out.println(pr_NeedResponse);
		System.out.println(hmac);

	}

}
